/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.sadhar.sipp.hargaitembiaya;

import java.util.List;
import java.util.Map;
import org.sadhar.sipp.posbiaya.PosBiaya;

/**
 *
 * @author bloodrunk
 */
public interface HargaItemBiayaDAO {

    public List<Map> list() throws Exception;

    public HargaItemBiaya select(int kode) throws Exception;

    public List<HargaItemBiaya> getAll() throws Exception;

    public List<Map> listDetail(String tahun) throws Exception;

    public void insert(HargaItemBiaya hargaItemBiaya);

    public List<Map> listByPosBiaya(int kodePosBiaya, String tahun) throws Exception;

    public List<Map> listByPosBiaya(String namaPosBiaya) throws Exception;

    public List<PosBiaya> getPosBiaya(String namaPosBiaya, String tahun);

    public void update(HargaItemBiaya hargaItemBiaya);

    public List cariHarga(HargaItemBiaya hargaItemBiaya) throws Exception;
}